﻿using Common.Communal;
using MediatR;

namespace Product.API.Write.Applications.Commands.Upload
{
    /// <summary>
    /// 图片上传命令
    /// </summary>
    public class UploadImgCommand : IRequest<ApiResult<string>>
    {
        /// <summary>
        /// 上传文件
        /// </summary>
        public IFormFile file { get; set; }

        /// <summary>
        /// 上传地址文件夹
        /// </summary>
        public string customFolder { get; set; } = "Images/";


    }
}
